package com.common.platform.base.config.mail;
import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "mail")
public class Mail {
    private Set<String> receivers;
    private String host;
    private int prot;
    private String from;
    private String pass;
    private String nickname;
    private boolean flag;



}
